﻿'
' Created by SharpDevelop.
' User: MKurt4
' Date: 4/29/2014
' Time: 10:18 AM
' 
' To change this template use Tools | Options | Coding | Edit Standard Headers.
'
Public Partial Class Run
	Public Sub New()
		' The Me.InitializeComponent call is required for Windows Forms designer support.
		Me.InitializeComponent()
		
		'
		' TODO : Add constructor code after InitializeComponents
		'
	End Sub
	
	Sub Button1Click(sender As Object, e As EventArgs)
		If textBox1.Text = "writer" Then 
		ElseIf textBox1.Text = "internet" Then 
			IE8.show()
			Me.Close()
		ElseIf textBox1.Text = "calc" Then 
			frmCalculator.Show()
			Me.Close()
		ElseIf textBox1.Text = "display" Then 
			Changes.Show()
			Me.Close()
		ElseIf textBox1.Text = "exit" Then
			Application.Exit()
		ElseIf textBox1.Text = "close" Then 
			Me.Close()
		ElseIf textBox1.Text = "applaunch" Then 
			Apps.Show()
			Me.Close()
		ElseIf textBox1.Text = "edit" Then 
			MFWEdit.Show()
			Me.Close()
		Else MsgBox ("The command you entered is not a valid operation.", vbCritical, "Run Error")
		End If
	End Sub
End Class
